#ifndef _GETWALLSIDE_
#define _GETWALLSIDE_
#include "HardwareInfo.c"
#include "turnfix.c"
#include "getball.c"
#include "gostraight.c"
#include <GetData.h>
#include "servoC.c"
#include <SetTenthS.h>
#include "release.c"
#include "newbc.c"
#include "CloseS.c"

void getWallside(int angle, int isRB, int jiaohuan)
{
    long var0 = 0;
    long var1 = 0;
    long var2 = 0;
    long var3 = 0;
    turnfix(7.5, angle, -10);
    getball(180);
    gostraight(50, 8);
    var2 = GetData(103);
    var2 += 10;
    servoC(2, var2, 500);
    SetTenthS(5);
    release(0);
    SetTenthS(5);
    newbc(isRB, jiaohuan);
    CloseS(0);
    angle = -angle;
    turnfix(2, angle, 0);
}
#endif

